﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SendCloudMail
{
    public partial class 模板发送 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void click_evt(object sender, EventArgs e)
        {
            SendAll();
            TextBox2.Text = "";
            TextBox3.Text = "";
            TextBox5.Text = "";
        }

        void SendAll()
        {
            string subject = TextBox2.Text;
            string content = TextBox3.Text;
            string emlist = TextBox4.Text.Trim();
            string lb = TextBox5.Text.Trim();
            //Response.Write(content);
            //Response.Write(content);
            Example.WebAPISendMail_template(subject, content, emlist,lb);
        }
        
        
    }
}